package com.vast.admin.api.cietac.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @auther zhaohao
 * @date 2021-05-18 10:53 上午
 * @des ProjectDetail作用: 贸仲项目详情类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectDetail implements Serializable {

    /**
     * b_secretary_mobile : 61111111
     * b_case_secretary : 办-关羽
     * status_value : 40
     * l_secretary_mobile : 62222222
     * l_secretary_email : jackcaishen@dingtalk.com
     * title : 测试项目
     * amount_scope_year : 50万-100万
     * expiry_start_time : 2021-04-01 00:00:00
     * attachment : [{"filename":"centos安装oralce.docx","file_type":false,"file_attachment_id":10784,"name":"153-1617247577155.docx","file_type_id":12,"file_attachment_url":"https://arbitration-develop.oss-cn-north-2-gov-1.aliyuncs.com/arbitration/user/153/2021-04-01/153-1617247577155.docx"}]
     * balance : 701
     * file_type : true
     * intro : 测试测试测试测试测试测试测试测试
     * case_number : 1-49
     * l_secretary_fax : 62222222
     * id : 51
     * b_secretary_email : chenyaomail@dingtalk.com
     * approval_file_id : 10785
     * approval_file_type : 图片
     * case_type : B类：非金融争议类的借款合同纠纷
     * petitioner : 吴宇飞
     * amount_scope_single : 5万-10万
     * approval_file_url : https://arbitration-develop.oss-cn-north-2-gov-1.aliyuncs.com/arbitration/user/3/2021-04-01/3-1617259468219.jpg
     * b_secretary_name : 办-关羽
     * approval_file_name : 1617259435(1).jpg
     * project_no : HBEP20210001
     * arbitrators : ["仲-黄忠","仲-马超","仲-赵云"]
     * l_secretary_name : 立-张飞
     * name : 测试合同
     * case_date_unit : 一季
     * cooperation_mode : 按标的额缴费
     * expiry_end_time : 2021-05-31 00:00:00
     * file_type_id : 1
     * b_secretary_fax : 61111111
     * status : 进行中
     */

    private String b_secretary_mobile;
    private String b_case_secretary;
    private int status_value;
    private String l_secretary_mobile;
    private String l_secretary_email;
    private String title;
    private String amount_scope_year;
    private String expiry_start_time;
    private int balance;
    private boolean file_type;
    private String intro;
    private String case_number;
    private String l_secretary_fax;
    private int id;
    private String b_secretary_email;
    private int approval_file_id;
    private String approval_file_type;
    private String case_type;
    private String petitioner;
    private String amount_scope_single;
    private String approval_file_url;
    private String b_secretary_name;
    private String approval_file_name;
    private String project_no;
    private String l_secretary_name;
    private String name;
    private String case_date_unit;
    private String cooperation_mode;
    private String expiry_end_time;
    private int file_type_id;
    private String b_secretary_fax;
    private String status;
    private List<AttachmentBean> attachment;
    private List<String> arbitrators;

    @Data
    public static class AttachmentBean implements Serializable {
        /**
         * filename : centos安装oralce.docx
         * file_type : false
         * file_attachment_id : 10784
         * name : 153-1617247577155.docx
         * file_type_id : 12
         * file_attachment_url : https://arbitration-develop.oss-cn-north-2-gov-1.aliyuncs.com/arbitration/user/153/2021-04-01/153-1617247577155.docx
         */

        private String filename;
        private boolean file_type;
        private int file_attachment_id;
        private String name;
        private int file_type_id;
        private String file_attachment_url;
    }
}
